package com.wu.dao;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @ClassName NewsDao
 * @Author wuxuan
 * @Date 2019/2/17 23:13
 * @Version 1.0
 * @Description
 **/

@Mapper
public interface NewsDao {

    public int addNews(String id, String title, String source, String url, String times);

    public List<Map> articlePaging(int next, int pageSize);

    public int addList(String NewsID, String NewsTitle, String NewsData, String NewsType, String NewsAuthor, String NewsUrl, String NewsPic01,String NewsPic02,String NewsPic03);

    public List<Map> NewsList(String newsType);
}
